<?php
include("xmlimporter/XMLImporter.php");
include("Security.php");

Security::checkAuthenticated();
$xml = XMLImporter::loadXMLItem($_POST["fileUrl"], $_POST["xmlRootItem"]);
//$product = XMLImporter::getProductList($xml, $_POST["xmlRootItem"]);
//$xml = XMLImporter::loadXMLItem("http://localhost/xmltomysql-site/small_file.xml", "product");
//$product = XMLImporter::getProductList($xml, "product");
echo $xml;
?>